/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package calculadorasimple;

import operadores.Division;


/**
 *
 * @author 66880717
 */
public class CalculadoraSimple {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Division d = new Division ();
        try{
        System.out.println (d.calcular (8,0)/d.calcular(5, 0));
        }
        catch (ArithmeticException ex){
            ex.printStackTrace(System.err);
   // System.out.println("No debe dividir por cero");
}
        
    }
}
